<?php


namespace plugin\coleopenapi\app\driver;


use plugin\coleopenapi\app\logic\AppSignLogic;
use Wengg\WebmanApiSign\Driver\BaseDriver;

class DatabaseDriver implements BaseDriver
{
    /**
     * @var array
     */
    protected $config;

    public function __construct(array $config)
    {
        $this->config = $config;
    }

    public function getInfo(string $app_key)
    {
        $logic = new AppSignLogic();
        return $logic->getInfoByAppKey($app_key);
    }
}
